package io.renren.modules.user.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.user.entity.TPeopleOutEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 人员退出表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-08-08 09:38:01
 */
@Mapper
public interface TPeopleOutDao extends BaseMapper<TPeopleOutEntity> {

   List<Map<String,Object>> queryPageList(Map<String, Object> params);

   /**
    * 返聘
    * @param outEntity
    * @return
    */
   int rehireAfterRetirement(TPeopleOutEntity outEntity);
   /**
    * 返聘
    * @param outEntity
    * @return
    */
   int rehireAfterRetirements(TPeopleOutEntity outEntity);
}
